package org.cloudie.docs.editor.client.commands.generic;

import org.cloudie.docs.editor.client.commands.Command;

public class VirtualEntryRenameCommand extends Command {

  public final static int serialUid = 46;
  
  private String entryId, newLabel, defaultLabel;
  
  public VirtualEntryRenameCommand(String entryId, String newLabel,
	    String defaultLabel) {
	super("Rename virtual entry.");
	this.entryId = entryId;
	this.newLabel = newLabel;
	this.defaultLabel = defaultLabel;
  }

  public String getEntryId() {
    return entryId;
  }

  public void setEntryId(String entryId) {
    this.entryId = entryId;
  }

  public String getNewLabel() {
    return newLabel;
  }

  public void setNewLabel(String newLabel) {
    this.newLabel = newLabel;
  }
  
  public String getDefaultLabel() {
    return defaultLabel;
  }

  public void setDefaultLabel(String defaultLabel) {
    this.defaultLabel = defaultLabel;
  }

  @Override
  public int getCommandId() {
    return serialUid;
  }

}
